package com.qiaofang.applet.service.member.domain;

import com.qiaofang.applet.common.base.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * Created by IDEA.
 *
 * @auther Zym.
 * @company qiaofang
 * @date 2021/1/11 16:34
 */
@Data
@Document(collection = "member_appointment")
@ApiModel("预约带看表")
@NoArgsConstructor
@AllArgsConstructor
public class Appointment extends BaseDomain {

    @ApiModelProperty("会员id")
    private String memberId;

    @ApiModelProperty("会员手机号")
    private String memberPhone;

    @ApiModelProperty("预约经纪人唯一uuid")
    private String employeeUniqueUuid;

    @ApiModelProperty("预约经纪人名称")
    private String employeeName;

    @ApiModelProperty("业务类型：1 新房  2 二手房  3 租房")
    private Integer businessType;

    @ApiModelProperty("房源唯一UUID")
    private String businessUuid;

    @ApiModelProperty("房源名称")
    private String businessName;

    @ApiModelProperty("城市名称")
    private String cityName;

    @ApiModelProperty("区域名称")
    private String districtName;

    @ApiModelProperty("预约/带看状态：0 待看  1 已看  2 已取消")
    private Integer status;

    @ApiModelProperty("预约时间 yyyy-MM-dd HH:mm")
    private String appointmentTime;

    @ApiModelProperty("实际带看时间 yyyy-MM-dd HH:mm")
    private String visitTime;

    @ApiModelProperty("预约姓名")
    private String appointmentName;

    @ApiModelProperty("随访人数")
    private Integer visitorNum;

    @ApiModelProperty("预约手机号")
    private String appointmentPhone;
}
